package com.spit.fammo.event

import com.spit.fammo.bean.DataBean
import com.spit.fammo.bean.db.AssetBean
import me.hgj.jetpackmvvm.base.viewmodel.BaseViewModel
import me.hgj.jetpackmvvm.callback.livedata.event.EventLiveData

/**
 * 作者　: hegaojian
 * 时间　: 2019/5/2
 * 描述　:APP全局的ViewModel，可以在这里发送全局通知替代EventBus，LiveDataBus等
 */
class EventViewModel : BaseViewModel() {

    val longPressKeyCode = EventLiveData<Int>()

    val playMusic = EventLiveData<Boolean>()

    val zkingType = EventLiveData<DataBean>()

    val uploadAsset = EventLiveData<AssetBean>()//更改EPC之后 的刷新

}